/**  
* @author renbangjie renbangjie@126.com  
* @version V1.0  
*/
package com.ai.service.reviewed.service;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

import com.ai.common.core.service.IBaseService;
import com.ai.common.model.Pagination;
import com.ai.mmd.reviewed.dto.SbhzinfoDTO;
import com.ai.mmd.reviewed.dto.SbmxinfoDTO;
import com.ai.mmd.reviewed.vo.SbmxinfoVO;
import com.ai.service.reviewed.model.SbmxinfoModel;

/**
* 
*	登陆信息的业务层接口
* 
* @author renbangjie renbangjie@126.com
*/
public interface ISbmxinfoService extends IBaseService<SbmxinfoModel> {

	public Map<String, String> readXlsx(InputStream is,SbhzinfoDTO sbhzinfoDTO) throws Exception;
	
	public Map<String, String> readXls(InputStream is,SbhzinfoDTO sbhzinfoDTO) throws Exception;
	
	/**
     * 详细信息的分页
     *
     * @param yhxxDTO
     * @return
     * @throws Exception
     */
	public Pagination<SbmxinfoVO> getListVO(SbmxinfoDTO sbmxinfoDTO,String baseFolder) throws Exception;
	
	/**
     * 获取一个明细VO
     *
     * @param SbmxinfoDTO
     * @return
     * @throws Exception
     */
    public SbmxinfoVO getVO(SbmxinfoDTO sbmxinfoDTO) throws Exception;
    
    /**
     * 查询未绑定的货运运单号列表
     *
     * @param SbmxinfoDTO
     * @return
     * @throws Exception
     */
    public List<SbmxinfoModel> getUnbindhwydhList(SbmxinfoDTO sbmxinfoDTO) throws Exception;
    
    /**
     * 查询未绑定的铁路货票号列表
     *
     * @param SbmxinfoDTO
     * @return
     * @throws Exception
     */
    public List<SbmxinfoModel> getUnbindtlhphList(SbmxinfoDTO sbmxinfoDTO) throws Exception;
    
    /**
     * 查询未绑定的海关号列表
     *
     * @param SbmxinfoDTO
     * @return
     * @throws Exception
     */
    public List<SbmxinfoModel> getUnbindhgsbList(SbmxinfoDTO sbmxinfoDTO) throws Exception;
    
    /**
     * 获得比对有质疑的明细列表
     * @param SbhzinfoDTO
     * @return
     * @throws Exception
     */
    public List<SbmxinfoVO> getCompareWorngList(SbhzinfoDTO sbhzinfoDTO) throws Exception;
    
    /**
     * 查询相同提单号和货票号列表
     *
     * @param SbhzinfoDTO
     * @return
     * @throws Exception
     */
    public Pagination<SbmxinfoVO> getSameDhList(SbmxinfoDTO sbmxinfoDTO)throws Exception;
    
    /**
     * 明细质疑，更新汇总和明细为不通过
     *
     * @param SbmxinfoDTO
     * @return
     * @throws Exception
     */
    public void mxzy(SbmxinfoDTO sbmxinfoDTO)throws Exception;
    
    /**
     * 获得统计TEU
     * @param SbmxinfoDTO
     * @return
     * @throws Exception
     */
	public Integer getStatisticsXLList(SbmxinfoDTO sbmxinfoDTO)throws Exception;
	
	public List<SbmxinfoVO> queryList(SbmxinfoDTO sbmxinfoDTO) throws Exception;
}
